package com.yx.changdao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yx.changdao.common.entity.GridInfo;
import com.yx.changdao.common.exception.AlertException;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * @Description: <br/>
 * 网格信息库表
 * <p>
 * <br/>
 * @Auther: flexible
 * @create 2020/04/02 13:47
 */
public interface GridInfoService extends IService<GridInfo> {

    /**
     * 删除网格下面的区。。。
     */
    @Transactional(
            rollbackFor = {Exception.class}
    )
    boolean removeRegion(Integer id) throws AlertException;

}
